# Arg[0] - Source Zip file
# Arg[1] - Destination Zip file

function Extract-Zip
{
                param([string]$zipfilename, [string] $destination)

                if (Test-Path ($destination))
                {
                                
                }
                else
                {
                                New-Item $destination -type directory
                }

                if(test-path($zipfilename))
                {              
                                $shellApplication = new-object -com shell.application
                                $zipPackage = $shellApplication.NameSpace($zipfilename)
                                $destinationFolder = $shellApplication.NameSpace($destination)
                                $destinationFolder.CopyHere($zipPackage.Items())
                }
}

Extract-Zip $Args[0] $Args[1]
